package com.shop.service;

import com.alibaba.fastjson.JSONArray;
import com.shop.entity.PayMessage;
import com.shop.exception.DAOException;

public interface ShoppingService {
    int order(int u_id, double o_total, JSONArray gd_id, JSONArray s_id) throws DAOException;

    PayMessage getPayMessage(int o_id) throws DAOException;

    void changecPayState(String o_id) throws DAOException;

    int BuyNow(int u_id, double o_total, String gd_id, String s_id) throws DAOException;
}
